package com.zgjkhis.modules.outpatient.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author yzq
 * @Description 患者标签表
 * @Date 2021/9/3 9:54
 * @Param
 * @return
 **/
@Data
@TableName("his_account_label")
public class AccountLabel implements Serializable {
    @TableId
    private Long id;
    @ApiModelProperty(value = "标签id",required = true)
    private Long labelId;
    @ApiModelProperty(value = "用户id",required = true)
    private Long accountId;
    /** 创建时间 */
    @TableField(fill= FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
